package com.xkstream.client.api;

import com.xkstream.client.entity.FirVersion;

import io.reactivex.Observable;
import retrofit2.http.GET;
import retrofit2.http.Query;

/**
 * Created by xiaoyi on 2017-10-23.
 */

public interface VersionService {
    String FIR_URL = "http://api.fir.im/apps/";
    String FIR_APPID = "59e706d3548b7a5f900001de";
    String FIR_APITOKEN = "aacbb9221ac63d04c45f29108f888b2b";

    @GET("latest/59e706d3548b7a5f900001de")
    Observable<FirVersion> getLatestVersionFromFir(@Query("api_token") String token);
}
